package com.jiajiabao.uselib;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

import com.alibaba.fastjson.JSON;
import com.android.volley.toolbox.Volley;
import com.jiajiabao.apilib.API;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        TextView show = (TextView)findViewById(R.id.show);
        show.setText(  API.name);
        JSON.toJSONString(API.name);
        Volley.newRequestQueue(this,null);

    }
}
